/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.property;

import org.users.Agent;
import org.users.Customer;

/**
 *
 * @author yakup
 */
public class Sale {

    public Sale(Customer customer1, Agent agent1, String itemId, String type) {
        customer = new Customer();
        agent = new Agent();
        this.customer = customer1;
        this.agent = agent1;
        this.itemId = itemId;
        this.type = type;
    }

    public Sale() {

    }

    public Agent getAgent() {
        return agent;
    }

    public void setAgent(Agent agent) {
        this.agent = agent;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

   private Customer customer;
   private Agent agent;
   private String itemId;
   private String type;
   
   
   
}
